package com.xzlf.util;

import com.xzlf.domain.JobTask;
import org.springframework.context.ConfigurableApplicationContext;

import java.util.Map;

public class TaskUtil {
    public static Map<String, JobTask> utilMap;

    public static void load(ConfigurableApplicationContext context){
        utilMap = (Map<String, JobTask>) context.getBean("jobTaskMap");
    }
}
